{{define "header_status"}}
<h2 class="card-title ml-4">
    <input data-bind="{{.ID}}" status="{{.Status}}" type="checkbox" class="batch form-check-input" style="display: none;">
    {{.Name}}
</h2>
{{if eq .Status -1}}
    {{include "partials/badge/deleted"}}
{{else if eq .Status -2}}
    {{include "partials/badge/unknow"}}
{{else if eq .Status 0}}
    {{include "partials/badge/stop"}}
{{else if eq .Status 1}}
    {{include "partials/badge/running"}}
{{else if eq .Status 2}}
    {{include "partials/badge/pause"}}
{{else if eq .Status 3}}
    {{include "partials/badge/finished"}}
{{end}}
{{if eq .IsMonitor 1}}
    {{include "partials/badge/monitor"}}
{{end}}
<h3 class="card-title ml-auto">
    <span class="badge bg-teal">{{.GroupName}}</span>
    <span class="badge bg-lime">{{.AgentName}}</span>
</h3>
{{end}}
